
<template>
  <!-- 文件页面 -->
  <div class="Page_FileStyleBox">
    <div class="Page_FileStyleLeftBox">
      <PageHomeFromRouer></PageHomeFromRouer>
    </div>
    <div class="Page_FileStyleRightBox">
      <div class="Page_FileStyleHeadTitleBox">
        <PageHeadRigthFrom></PageHeadRigthFrom>
      </div>
      <!-- 头部面包屑 -->
      <div class="Page_FileStyleBreadcrumB">
        <a-breadcrumb class="FileStyleBreadcrumB">
          <a-breadcrumb-item><a href="/home">工作台</a></a-breadcrumb-item>
          <a-breadcrumb-item><a href="/file">文件管理</a></a-breadcrumb-item>
        </a-breadcrumb>
      </div>
      <!-- 主体 -->
      <div class="Page_FileStyleBodyCom">
        <div class="Page_FileContext">
          <!-- 标题 -->
          <div class="Page_PosterStyleMegMass">
            <MegMass></MegMass>
          </div>
          <div class="Page_FileStyleFromCom">
            <p>
              名称：<input
                type="text"
                v-model="val"
                @input="search"
                placeholder="请输入页面名称"
              />
            </p>
            <p>
              路径：<input
                type="text"
                v-model="text"
                placeholder="请输入页面路径"
              />
            </p>

            <p>
              <a-button type="primary">搜索</a-button>
              <a-button @click="ReturnBtn">重置 </a-button>
            </p>
          </div>
          <div class="Page_FileIMBox">
            <div class="BoxPageImgX">
              <CardImgX></CardImgX>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>


<script>
import { ref } from "vue";
import CardImgX from '../../components/CardImgX/index.vue';
import MegMass from "../../components/MegMass/index.vue";
import PageHeadRigthFrom from "../../components/PageHeadRigthFrom";
import PageHomeFromRouer from "../../components/PageHomeFromRouer";
export default {
  data() {
    return {
      val: "",
      text: "",
    };
  },
  beforeCreate() {},
  setup() {
    const value = ref("");
    return {
      value,
    };
  },
  created() {},
  methods: {
    // 重置按钮
    ReturnBtn() {
      this.val = "";
      this.text = "";
    },
  },
  components: {
    PageHomeFromRouer,
    PageHeadRigthFrom,
    MegMass,
    CardImgX,
  },
};
</script>

<style>
.FooterDl{
  text-align: center; 
  margin-top: 20px;
}
.Page_FileStyleBox {
  width: 100%;
  height: 100%;
  display: flex;
}
.Page_FileStyleLeftBox {
  width: 15%;
  height: 100%;
  overflow: hidden;
    background: #001529;
  border-right: 1px solid #ccc;
}
.Page_FileStyleRightBox {
  width: 100%;
  height: 100%;
}
.BoxPageImgX {
  display: flex;
  flex-wrap: wrap;
}
.CardBox {
  display: inline-block;
  width: 200px;
  height: 150px;
}
.Page_FileContext {
  width: 100%;
  height: 100%; 
  
}
.Page_FileIMBox {
  width: 1391px;
  height: 100%; 
  margin-left: 30px;
  background: #ffff;
  padding: 20px;
  margin-top: 30px;
}
.Page_FileStyleHeadTitleBox {
  width: 100%;
  height: 45px;
  border-bottom: 1px solid #ccc;
}
.Page_FileStyleBreadcrumB {
  width: 100%;
  height: 45px;
  border-bottom: 1px solid #ccc;
}
.FileStyleBreadcrumB {
  display: inline-block;
  margin: 10px 20px;
}
.Page_FileStyleBodyCom {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background: #eff2f5;
}
.Page_PosterStyleMegMass {
  width: 1391px;
  height: 50px;
  background-color: #fffbe6;
  border: 1px solid #ffe58f;
  margin-left: 30px;
  margin-top: 30px;
}
.Page_FileStyleFromCom {
  width: 1391px;
  height: 150px;
  margin-left: 30px;
  display: flex;
  margin-top: 20px;
  background: #fff;
  align-items: center;
  justify-content: space-around;
}
.Page_FileStyleFromCom > p {
  margin-top: 10px;
}
</style>
